import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
Vue.config.productionTip = false;
import 'lib-flexible/flexible';

// 挂载全局提示
import { Toast, Notify } from 'vant';
Vue.use(Toast, Notify);

// 导入全局过滤器
import './js/tool';

// 动态改变title
import VueWechatTitle from 'vue-wechat-title';
Vue.use(VueWechatTitle);

// 全局微信sdk挂载
import wx from 'weixin-js-sdk';
Vue.prototype.$wx = wx;
window.vm = new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app');
